package com.ruoyi.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工考核配置对象 emp_att_config
 * 
 * @author cf
 * @date 2025-06-04
 */
public class EmpAttConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 配置类型（如 1考勤，2绩效等） */
    @Excel(name = "配置类型", readConverterExp = "如=,1=考勤，2绩效等")
    private Long attendanceType;

    /** 配置名称 */
    @Excel(name = "配置名称")
    private String configName;

    /** 配置描述 */
    @Excel(name = "配置描述")
    private String configDesc;

    /** 配置分数（可用于考核评分） */
    @Excel(name = "配置分数", readConverterExp = "可=用于考核评分")
    private Long configScore;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAttendanceType(Long attendanceType) 
    {
        this.attendanceType = attendanceType;
    }

    public Long getAttendanceType() 
    {
        return attendanceType;
    }
    public void setConfigName(String configName) 
    {
        this.configName = configName;
    }

    public String getConfigName() 
    {
        return configName;
    }
    public void setConfigDesc(String configDesc) 
    {
        this.configDesc = configDesc;
    }

    public String getConfigDesc() 
    {
        return configDesc;
    }
    public void setConfigScore(Long configScore) 
    {
        this.configScore = configScore;
    }

    public Long getConfigScore() 
    {
        return configScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attendanceType", getAttendanceType())
            .append("configName", getConfigName())
            .append("configDesc", getConfigDesc())
            .append("configScore", getConfigScore())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
